package com.qdxwx.models.order;

import java.io.Serializable;

public class OrderDetailDTO implements Serializable {

    private static final long serialVersionUID = -6232368396983056901L;

    private Long detailId;//流水ID
	private Integer courseId;//课程id
	private Integer price;// 当前价格(单位分)
	private String courseImgUrl; // 课程图片
	private String courseName;// 课程名称
	private String courseIntro; // 课程描述
	private String lessonNum;//课时数
	private String sellType;//课程类型
	private String orderType;//订单类型 COURSE课程 MEMBER会员

    public OrderDetailDTO() {
    }

    public Long getDetailId() {
        return this.detailId;
    }

    public Integer getCourseId() {
        return this.courseId;
    }

    public Integer getPrice() {
        return this.price;
    }

    public String getCourseImgUrl() {
        return this.courseImgUrl;
    }

    public String getCourseName() {
        return this.courseName;
    }

    public String getCourseIntro() {
        return this.courseIntro;
    }

    public String getLessonNum() {
        return this.lessonNum;
    }

    public String getSellType() {
        return this.sellType;
    }

    public String getOrderType() {
        return this.orderType;
    }

    public void setDetailId(Long detailId) {
        this.detailId = detailId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public void setCourseImgUrl(String courseImgUrl) {
        this.courseImgUrl = courseImgUrl;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public void setCourseIntro(String courseIntro) {
        this.courseIntro = courseIntro;
    }

    public void setLessonNum(String lessonNum) {
        this.lessonNum = lessonNum;
    }

    public void setSellType(String sellType) {
        this.sellType = sellType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    @Override
    public String toString() {
        return "OrderDetailDTO{" +
                "detailId=" + detailId +
                ", courseId=" + courseId +
                ", price='" + price + '\'' +
                ", courseImgUrl='" + courseImgUrl + '\'' +
                ", courseName='" + courseName + '\'' +
                ", courseIntro='" + courseIntro + '\'' +
                ", lessonNum='" + lessonNum + '\'' +
                ", sellType='" + sellType + '\'' +
                ", orderType='" + orderType + '\'' +
                '}';
    }
}
